﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:local="clr-namespace:WPFRadio"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
	x:Class="WPFRadio.PlaylistManager"
	x:Name="Window"
	Title="Playlist Manager"
	Width="576" Height="366" Background="#FF9D9D9D" WindowStyle="ToolWindow" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">

	<Window.Resources>
		
		<HierarchicalDataTemplate DataType="{x:Type local:Category}" 
		                    ItemsSource="{Binding Children}">
            <TextBlock Text="{Binding name}" ToolTip="{Binding genre}"></TextBlock>
		</HierarchicalDataTemplate>
	</Window.Resources>

    <Grid x:Name="LayoutRoot">
		 
        <TreeView x:Name="TreeView"  Margin="8,8,8,0">
    	 
		   <TreeViewItem Header="Radios" IsExpanded="True" x:Name="_RadiosItem"  ScrollViewer.VerticalScrollBarVisibility="Visible" x:FieldModifier="private" Margin="8"/>
         </TreeView>
		 
		  
	</Grid>
	
</Window>